import { prop_cur_req_time } from '../../../../../Classes/cla_req_cur_headers_info';
import { global_user_active_status } from '../../../Func/global_user_active_mana';
import { req_info_user_login } from '../req_res/cla_req_info_user_login';

/**
 * 登录 用户
 * @param cur_user_identity
 * @param req_time
 */
export function global_login_cur_user(cur_login_info: req_info_user_login) {
  global_user_active_status.login_user(
    cur_login_info[prop_cur_req_time],
    cur_login_info.id
  );
}
